package cn.iocoder.an.module.mold.controller.admin.upkeeptobe.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 待保养模具新增/修改 Request VO")
@Data
public class UpkeepTobeSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "14947")
    private Long id;

    @Schema(description = "模具台账id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20467")
    @NotNull(message = "模具台账id不能为空")
    private Long accountId;

    @Schema(description = "图号id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15140")
  //  @NotNull(message = "图号id不能为空")
    private Long drawingNoId;

    @Schema(description = "保养类型id", example = "25044")
    private Long upkeepId;

    @Schema(description = "上次保养日期")
    private LocalDateTime lastUpkeepTime;

    @Schema(description = "是否临时保养")
    private Integer ifTmp;

    @Schema(description = "任务状态", example = "2")
    private Integer status;

    @Schema(description = "任务id", example = "27427")
    private Long taskId;


    @Schema(description = "提醒标志位", example = "27427")
    private Integer remindF;

    @Schema(description = "保养项目主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1423")
  //  @NotNull(message = "保养项目主键不能为空")
    private Long itemId;

}